package com.tsd.jxc.req;

import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tsd.core.utils.HlpUtils;
import com.tsd.core.utils.ListUtil;
import com.tsd.jxc.JxcConstants;
import com.tsd.jxc.buy.entity.JxcBuyOrderDetail;
import org.apache.commons.lang3.StringUtils;

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @ClassName: JxcBuyOrderDetailReqParamsVo
 * @Description: TODO
 * @Author: Hillpool
 * @Date: 2023/3/15 10:06
 * @Version: 1.0
 */
public class JxcBuyOrderDetailReqParamsVo extends JxcBuyOrderDetail {

    private Map<String, BigDecimal> preset_qty_map;

    private Map<String, String> preset_product_map;

    private Map<String, String> preset_sale_map;

    private Map<String, List<String>> preset_sale_detail_list_map;

    private Map<String, Long> preset_size_id_map;

    private String goods_name;

    private String goods_unit;

    private String specifications;

    private String spec_sid;

    private String spec_preset_value;

    private String order_code;

    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date order_date;

    private String client_display;

    private String supplier_display;

    private Integer gen_bill_num;

    private BigDecimal gen_buy_qty;

    private List<String> sale_order_detail_list;

    public Map<String, BigDecimal> getPreset_qty_map() {
        return preset_qty_map;
    }

    public void setPreset_qty_map(Map<String, BigDecimal> preset_qty_map) {
        this.preset_qty_map = preset_qty_map;
    }

    public Map<String, String> getPreset_product_map() {
        return preset_product_map;
    }

    public void setPreset_product_map(Map<String, String> preset_product_map) {
        this.preset_product_map = preset_product_map;
    }

    public Map<String, String> getPreset_sale_map() {
        return preset_sale_map;
    }

    public void setPreset_sale_map(Map<String, String> preset_sale_map) {
        this.preset_sale_map = preset_sale_map;
    }

    public Map<String, List<String>> getPreset_sale_detail_list_map() {
        return preset_sale_detail_list_map;
    }

    public void setPreset_sale_detail_list_map(Map<String, List<String>> preset_sale_detail_list_map) {
        this.preset_sale_detail_list_map = preset_sale_detail_list_map;
    }

    public Map<String, Long> getPreset_size_id_map() {
        return preset_size_id_map;
    }

    public void setPreset_size_id_map(Map<String, Long> preset_size_id_map) {
        this.preset_size_id_map = preset_size_id_map;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_unit() {
        return goods_unit;
    }

    public void setGoods_unit(String goods_unit) {
        this.goods_unit = goods_unit;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getSpec_sid() {
        return spec_sid;
    }

    public void setSpec_sid(String spec_sid) {
        this.spec_sid = spec_sid;
    }

    public String getSpec_preset_value() {
        return spec_preset_value;
    }

    public void setSpec_preset_value(String spec_preset_value) {
        this.spec_preset_value = spec_preset_value;
    }

    public String getOrder_code() {
        return order_code;
    }

    public void setOrder_code(String order_code) {
        this.order_code = order_code;
    }

    public Date getOrder_date() {
        return order_date;
    }

    public void setOrder_date(Date order_date) {
        this.order_date = order_date;
    }

    public String getClient_display() {
        return client_display;
    }

    public void setClient_display(String client_display) {
        this.client_display = client_display;
    }

    public String getSupplier_display() {
        return supplier_display;
    }

    public void setSupplier_display(String supplier_display) {
        this.supplier_display = supplier_display;
    }

    public Integer getGen_bill_num() {
        return gen_bill_num;
    }

    public void setGen_bill_num(Integer gen_bill_num) {
        this.gen_bill_num = gen_bill_num;
    }

    public BigDecimal getGen_buy_qty() {
        return gen_buy_qty;
    }

    public void setGen_buy_qty(BigDecimal gen_buy_qty) {
        this.gen_buy_qty = gen_buy_qty;
    }

    public List<String> getSale_order_detail_list() {
        return sale_order_detail_list;
    }

    public void setSale_order_detail_list(List<String> sale_order_detail_list) {
        this.sale_order_detail_list = sale_order_detail_list;
    }

    public String getSpec_name() {
        return null;
    }

}
